﻿namespace eRechnung
{
    public partial class ThisDocument
    {
        private void ThisDocument_Startup(object sender, System.EventArgs e)
        {
            MyThisDocument_Startup(sender, e);
        }

        private void ThisDocument_Shutdown(object sender, System.EventArgs e)
        {
            MyThisDocument_Shutdown(sender, e);
        }

        #region Vom VSTO-Designer generierter Code

        /// <summary>
        /// Erforderliche Methode für die Designerunterstützung.
        /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
        /// </summary>
        private void InternalStartup()
        {
            this.CC_RecipientVATID.Validating += new System.ComponentModel.CancelEventHandler(this.CC_RecipientVATID_Validating);
            this.CC_InvoiceDate.StoreUpdating += new Microsoft.Office.Tools.Word.ContentControlStoreUpdatingEventHandler(this.CC_InvoiceDate_StoreUpdating);
            this.CC_DueDate.StoreUpdating += new Microsoft.Office.Tools.Word.ContentControlStoreUpdatingEventHandler(this.CC_DueDate_StoreUpdating);
            this.CC_OrderReference.Entering += new Microsoft.Office.Tools.Word.ContentControlEnteringEventHandler(this.CC_OrderReference_Entering);
            this.CC_OrderReference.Validating += new System.ComponentModel.CancelEventHandler(this.CC_OrderReference_Validating);
            this.CC_OrderReference.Validated += new System.EventHandler(this.CC_OrderReference_Validated);
            this.CC_Referenz.Validating += new System.ComponentModel.CancelEventHandler(this.CC_Referenz_Validating);
            this.Startup += new System.EventHandler(this.ThisDocument_Startup);
            this.Shutdown += new System.EventHandler(this.ThisDocument_Shutdown);
            this.BeforeSave += new Microsoft.Office.Tools.Word.SaveEventHandler(this.ThisDocument_BeforeSave);
            this.SelectionChange += new Microsoft.Office.Tools.Word.SelectionEventHandler(this.ThisDocument_SelectionChange);

        }

        #endregion

        private void CC_InvoiceDate_StoreUpdating(object sender, Microsoft.Office.Tools.Word.ContentControlStoreUpdatingEventArgs e)
        {
            MyCC_InvoiceDate_StoreUpdating(sender, e);
        }
        
        private void CC_OrderReference_Entering(object sender, Microsoft.Office.Tools.Word.ContentControlEnteringEventArgs e)
        {
            MyCC_OrderReference_Entering(sender, e);
            
        }

        private void CC_OrderReference_Validated(object sender, System.EventArgs e)
        {
            MyCC_OrderReference_Validated(sender, e);
            
        }

        private void CC_OrderReference_Validating(object sender, System.ComponentModel.CancelEventArgs e)
        {
            MyCC_OrderReference_Validating(sender, e);
        }
    }
}
